class CreateIncidents < ActiveRecord::Migration
  def self.up
    create_table :incidents do |t|
      t.column :computer_id, :integer
      t.column :type_incident, :string
      t.column :info_comp, :string
      t.column :created_at, :date
      t.column :resolved_at, :date
    end
  end

  def self.down
    drop_table :incidents
  end
end
